package com.skyolder.milkbee.task;

import javax.inject.Inject;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

import com.skyolder.milkbee.service.FactorService;
@Component
@EnableScheduling
public class LeaguerUpdateTask {
	private final Logger log = LoggerFactory.getLogger(LeaguerUpdateTask.class);
	@Inject
	FactorService factorService;
	//每天 1点更新成员：等级
	@Scheduled(cron="0 0 1 * * ? ")
    public void updateLeagers() {
		log.info("updateLeagers start!!!");
    }
}
